home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form frmRegister
- BackColor = &H00C0C0C0&
- BorderStyle = 1 'Fixed Single
- Caption = "Unregsitered Copy"
- ClientHeight = 3180
- ClientLeft = 3255
- ClientTop = 3450
- ClientWidth = 4815
- Height = 3555
- Left = 3210
- LinkTopic = "Form1"
- ScaleHeight = 3180
- ScaleWidth = 4815
- Top = 3120
- Width = 4905
- Begin CommandButton cmdOK
- Cancel = -1 'True
- Caption = "OK"
- Default = -1 'True
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 8.25
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 375
- Left = 1560
- TabIndex = 6
- Top = 2640
- Width = 1455
- End
- Begin TextBox txtCompany
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 8.25
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 285
- Left = 360
- MaxLength = 59
- TabIndex = 4
- Top = 1800
- Width = 3975
- End
- Begin TextBox txtName
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 8.25
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 285
- Left = 360
- MaxLength = 39
- TabIndex = 2
- Top = 960
- Width = 3975
- End
- Begin Label Label4
- Alignment = 1 'Right Justify
- AutoSize = -1 'True
- BackStyle = 0 'Transparent
- Caption = "foo will expire in 5 days."
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 8.25
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 195
- Left = 1440
- TabIndex = 5
- Top = 2280
- Width = 1665
- End
- Begin Label Label3
- Alignment = 2 'Center
- BackStyle = 0 'Transparent
- Caption = "You are running a unregsitered copy of foo. Please fill out the following information."
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 8.25
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 375
- Left = 360
- TabIndex = 3
- Top = 120
- Width = 3255
- End
- Begin Label Label2
- AutoSize = -1 'True
- BackStyle = 0 'Transparent
- Caption = "Company"
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 8.25
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 195
- Left = 240
- TabIndex = 1
- Top = 1560
- Width = 660
- End
- Begin Label Label1
- AutoSize = -1 'True
- BackStyle = 0 'Transparent
- Caption = "Name"
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 8.25
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 195
- Left = 240
- TabIndex = 0
- Top = 720
- Width = 420
- End
- Option Explicit
- Sub cmdOK_Click ()
- If Len(Trim$(txtName.Text)) = 0 Or Len(Trim$(txtCompany.Text)) = 0 Then
- MsgBox "Fill in the Name and Company Name fields.", MB_ICONSTOP, "foo"
- Exit Sub
- End If
- SaveInfo
- End Sub
- Sub Form_Load ()
- 'center window
- CenterPopUpWindow Me
- End Sub
-